import showText

from PyQt4.QtCore import *
from PyQt4.QtGui import *

def show(s):
    window = QDialog()
    ui = showText.Ui_Dialog()
    ui.setupUi(window)
    ui.text.setText(s)
    window.show()
    window.exec_()
        

if __name__=="__main__":
    app=QApplication([])
    show("12345678901234567890123456\nabcdefghijklmnopqrstuvwxyz\nABCDEFGHIJKLMNOPQRSTUVWXYZ")
    
